/*
 * FileCopyHelper.java
 *
 * Created on February 11, 2006, 1:12 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package custom.util;

import java.io.File;
import java.io.IOException;

/**
 *
 * @author David Armstrong
 */
public interface FileCopyHelper {

    public boolean handleExistingFile(final File dest, final File source) throws FileCopyCancelException;

    public boolean handleFileInUse(final File file);

    public void handleException(final IOException e);

    public void reportCopyStatus(final String status, boolean success) throws FileCopyCancelException;

    public int getRestoreCount();

    /*
    public void reportCopyStatus(IOException e);
    public void reportCopyStatus(FileCopyCancelException e);
     */
}
